# $Id: PKGBUILD 83170 2013-01-27 16:23:15Z pierre $
# Maintainer:
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>

pkgname=opendesktop-fonts
pkgver=1.4.2
pkgrel=1
pkgdesc="Chinese TrueType Fonts"
arch=('any')
url='http://www.opendesktop.org.tw/'
license=('custom:Arphic Public License')
depends=('fontconfig' 'xorg-font-utils')
install=opendesktop-fonts.install
provides=('ttf-fireflysung')
replaces=('ttf-fireflysung')
#source=("ftp://ftp.opendesktop.org.tw/odp/ODOFonts/OpenFonts/${pkgname}-${pkgver}.tar.gz")
source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('c33e83d27ac3401bc51a2b8a88705c78')

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  install -d ${pkgdir}/usr/share/fonts/TTF
  install -m 644 *.ttf ${pkgdir}/usr/share/fonts/TTF
  install -m 644 *.ttc ${pkgdir}/usr/share/fonts/TTF
  install -D -m644 COPYRIGHT ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
